Initial work for issue #8 - support application command key mappings in
addition to mouse and keyboard.