added threads, added curses display for fun