Cleanup of keyboard controls.