'd' hotkey: use STM for modifying commands

We use STM; this is necessary because we fire off `eventHandler`
_before_ we even begin the interactive loop (where `d` might be
pressed). So, when `eventHandler` fires off a command, the command needs
to be looked at again, in case it was modified by the user with `d`.