Reverted ncurses ui to older working version.