Short circuit a divide by zero issue when showing progress bars.

Needs tests though!