Reluctantly return DoEvents to the progress bar update function

I really don't like including it, but until I can find a way to force a
refresh when the window is inactive, I need to us it.