Setup the game loop and window display functionality. Added an FPS and UPS counter.
Merge origin/master