Added key-bindings for WASD.
Remember last moves, which allows needless snapping to be avoided.