Gamestate--leave called outside of the function. Breaks switch return value, but I don't know how useful that is anyway?