Fix an infinite loop due to attempting to visit a room that once existed.
Add more history and append user commands to the history.