Simplify key handler a bit and add default minor modes.