Added room leaving and improved room error handling.