Input mode: sets the current Input Mode.
Preferences: opens the main preferences window (see Preferences for details).