Implemented main game loop.

Window now generated and resizes correctly. Main game loop currently
controlled by bound glut method glutMainLoop().