Updated GameStateManager constructor.