handle transitioning between game state

-add way to edit from editor
-add way to quit from title screen