Output

Functions to handle command line outputs

update_progress(progress)

prints a nice status bar and updates it, if called again.