Debugging a new thread syncronissation issue.
Refactoring.
Planing a curses interface.