KeyListener/KeyListener[] hack (reduce memory usage further)