hoo boy refactor. all the style stuff broken up and almost beautiful.
continue with the refactor, added progress label
unified progress bar length, removed last label if 100%
phpdoc all the things