de-refactor chat and hotkeys