Modified ProgressBar() module to display output to a console or iPython notebook, depending on an input 'interactive argument.'