added a game state stack, pushing or popping states can be used to change control schemes