few bug fixes,
big change: using curses to display statistics, still a little buggy not working well with logging output