Functions to handle command line outputs
update_progress(progress)
update_progress
prints a nice status bar and updates it, if called again.