Minor cleanup
Add (largely-untested) copy_with_progressbar