Added progressbar to plots

This pull request adds a command-line progress bar module and uses it in the plotting routines.