1091530 - fix rendering a (None) progress report.

Add missing unit tests and docstrings.  Some code formatting and improvements.