Leo's present key handling is too slow. The code could be simplified and accelerated by making per-pane bindings at startup time. Each table would bind incoming strokes to functions. This promises a large performance boost and a shallow call tree for each stroke.