took more of the window event listeners and added them to the windowmanager