added handler stuff for keydown events
Added ability to chat