Moved EnhancedKeyEvent to the gui.utils module