TOON: Do not use KeyState::hasFlags when only presence of any flag should be checked.

hasFlags has the semantics to check whether *all* of the supplied flags are
active. Toon looks like it rather wants to know whether any modifier is
active and thus not use hasFlags.
TOON: Ignore hotkeys when *any* modifier is used.

This makes, for example, META+d also be ignored and not only CTRL+d etc.
TOON: Use keycodes for hotkey handling.