Prep for final engine layout

Moved window into GameEngine, added some thread killing support
Misc physics commits
Implemented physics