Added begin/finish for progress bar to transition into and out of existence.
Converted indentation to spaces.