Further improvements to keyboard input

Now we just put the listener in the LegacyDungeon. Problem now is how to
get info from there and use it for different needed components. We need
to have loops that use the keylistener to do different things.