More natural dragging work

Stubbed out jack-dragging. Needs GrafEd support.
Factored out some mouse-event logic, in prep for touch controls.