Refactored controls, they work now.

This allows turning keys off (for example to disable world rotation).
It is now easy to define a new action for a key in runtime.