window properly
* "delete-event" callbacks use GdkEventWindowState (not GdkEvent)
* begin implementation of window position/size/state save/restore
NOTE: this revision is *very* unstable. I think I should drop the GTK
"delete-event" handling and revert back to onClose().