Implemented most keycontrols

Also removed a bit of debugging.

The "Twist" function still has not been fully implemented.