Cache movement commands for slower computers
Fix Issue #300. Don't bind directly to undo
Fix cache so that it works with repeatable keys