use cpp_progress_bar

After a number of problems with progressbar (a C "with classes" setup), such as
memory corruption and blah, I moved to the almost-identical cpp_progress_bar
library, again making patches to it that allow for this particular use case.
Progress can now be displayed when constructing a graph.