Reinstated touch repeat events.
Cleanup.
Correct shift lock setting behavior.
Fix for wonky highlighting of Shift lock.