I swear some bugs are just so weird...
ZC fix and bugfixes
better handling of multiple windows