powered by
Takes care of updating a progress bar and stopping when appropriate
update_progress(.pb = NULL)
the progress bar
the progress bar object