Added main game loop and Mytor2D's game class is used to open an empty window.