Added common output functions
Wait for key press before clearning ncurses window
Adding comments
Rough progress output working
Moved progress printing to output.{h,c}