Fixed the room history bugs with HTML printing out at the wrong time.