More divide by zero fixes

Fixes for $percentComplete when duration is zero