Fixed a bug with chat not emitting the messages to the server. Also enabled sending chat via the enter key/