Most goats do not think only of just food and escaping. They are inquisitive, some are fairly smart, and depending on how they have been handled or treated... very sweet and affectionate. I have yet to ever have one of my goats escape. Ever. I have larger Dairy breeds of goats as well as some small Nigerians.
While I really like this site for horse information, there are much better goat sites and forums out there where you will learn everything you would need to know and If you would like, you can pm me and I would be happy to send you links to some excellent and informative goat pages.
There are halters made for sheep and goats, but those are usually for meat breeds of goats. A good dog collar with a safety buckle is the best thing to keep on a goat when needed, and they can be trained to walk on a lead very well. They are very food motivated and because of this are actually very to teach. They have good memories too. Like most horses... if given an opportunity they will chew on trees, barn sides, or eat any grain they can get to. Haven't really met many likestock critters who wouldn't.
They are not however "lawnmowers" Goats are browsers, not grazers like sheep are. The will eat brush and weeds before most grasses, and often prefer hay that has a variety of things in it.
You can pick up most things needed inexspensively at a good farm supply store including dewormer and proper hoof trimmers. Keeping something rough, like a few cinder blocks or piece of roungh concrete for them to jump on can help keep the hooves worn down better than grass.
My goats are well behaved and have never acted disrespectfully towards me, any human visitors, or any of my other farm animals. Goats that have been disbudded as kids tend to get along better with one another and other farm critters better than one who has grown a good set of horns.
Goats do not like to live alone, they are herd animals and really like to live with other goats, but can be happy with some other type of companion animal.
With some though to breed/type and a little time to learn about them and their needs, you should be able to find a nice goat and be happy with them.