Internal modifications to windowing

Preparations for the new scene module
Merge branch 'master' of https://github.com/Drag-On/Dragon-Blaze-Game-Library