Some heavy rehashing. Closeable windows!

I had to abandon my mousesensitive and mousetrap object ideas; going for
something way more rudimentary. Now have a closeable window object; have
instituted callbacks (finally).