Fix keyboard code to not wire up 1 trillion keyboard listeners.