Moved the initialization, main loop and shutdown functions as well as the global input handler and the global window info struct into an application layer class 'TileGenApp'.
Merge branch 'master' of https://github.com/slav-squat/TileGen.git