Improving PieChartProgress

As *sample code* I think that's it's more important being easy to understand than being fully correct. Also, I couldn't even see where this is being used.