Plugin Generator: Fix divide by zero bug, made sure progress starts at 0