Rolled the KeyListeners into one class for the sake of brevity.