Starting to work on the ncurses-based UI.