Fixing possible nil reference problem.
Switching to progress bar wrapper.