Added Curses and fixes.