Makes the keyboard shortcut class more readable.
Merge pull request #126 from fouksf/keyboard-shortcuts

Makes the keyboard shortcut class more readable.
Makes shortcuts active when chat is opened but not focused.
Merge pull request #127 from fouksf/keyboard-shortcuts

Makes keyboard shortcuts active when chat is opened but not focused.