Yes, it's holding the food there. I hadn't tried them with veg before so I put it here because they spend so much time on the glass.
In answer to the other question, they do spend virtually all their time eating algae! - though they don't eat hair algae, which I'm battling at the moment. They enjoy being in groups, I think you could keep 3-4 in a 30-40 gallon, maybe more depending what other fish you've got.