Replaced dummy test with actual tests
Added initial event handler code
Removed optimizations as right now these just slow down things for no reason
Added dummy test handler for button click
Added tests for WindowBase on_click handling()