Two points to Ben: 1) read the code more clearly when you make core changes like this - the one line you moved to inside the conditional block for the window events had nothing to do with the window events vehicle and had a very clear comment explaining its purpose, 2) I highly recommend running through the UIZE examples when making changes like this - it was pretty obvious when I went through the examples that numerous were borked by this change. And there's no excuse to not test the examples - you can run the UIZE site locally with NodeJS.
Added some notes on examples to fix.