for recognising key sequences, we only want to look at events containing non-modifier keystrokes
instead of using functions directly. This is so that the appropriate frame-relevant commander can be used to execure the command, but also makes the keymaps a little less opaque