Fix uint64 to uint16 cast exception.
Speed up the keyboard movement with Shift pressed.