Finished threading in preparation for other interfaces, e.g., ncurses.