bug fixes; more progress on no_curses