events now with flowcontrol
events now in atma::
hacky hwnd on window until I figure out how I want to seperate platform-specific stuff out