bug catching code, enter function for chat

broke some things adding room tabs, chat sends when you press enter. bug
catching