[gui] Cleanup megacommit (maybe fixes #6)

Use properties more judiciously, make properties writable only when they
need to be, use _name convention for instance variables, (mostly) stop
using autorelease, actual understanding of the Objective-C ownership
conventions, fix one or two memory leaks, ....