linux partially working, recieving close events with multiple threads and X11 doesn't work
Collect Quit events
Remove structureNotify events and exposureMask events