Additional NativeKeyEvent getKeyText() refactoring.