Partial commit after radical restructure of the event handling for touch and mouse events.
Stable!