Refactor MODE_EXITSPAWN and MODE_EXITSPAWN_START_GAME