Start progress bar at 0
Remove unused variables