reworking quite a bit.

Starting to figure out ncurses. This might take a while.