Fixed a typo.
Moved HTML output to it's own file.
Moved all HTTP work to a separate class.
It's a constructor silly...
A little error checking around configurations.
Better number formatting
Fixed bug computing completed percentage.