remove legacy text mode, and display modes.
refactor mine.c for better compatibility
add monocolor ncurses output and cursor movement