Create Custom KeyEventDispatcher

to make sure keys are correctly passed to the main panel