remove cursor_mode
initial start of reworking of cursor modes for better customization
more fixes to rewrite of cursor mode handling