Thinking carefully about how to avoid nightmarish code while allowing key-chords.