Add in more window event listeners
Add in more window event listeners

This will be useful later to do things such as:
* Pausing game while minimized
* Resuming game when restoring

The-Dream-Team/Tardis,The-Dream-Team/Tardis