Quit game when scene stack is empty.