Fixin some bugs, renaming some variables.
Chatroom functionality running and tested.