Using the Windows Game State Management sample for the game's base.