remove ncurses debugging
split out display logic