Getting there

Simple state control now
Cursor dragging not working yet
Working some more

Need to fix cursor drawing
And convert cursor pos to world pos
Minor fiddling
dragging working a bit better