draw the cursor, take 1

the cursor is a bit fat, but afaik it is truly at the next insertion
point as is exactly outside the debug text rectangle.
minor cleanup

no functional changes except scrolling with mouse wheel changed
direction. To match windows.
wire the left and right keys to the cursor

the insertion point still broken but the cursor moves correctly.