Added a bunch of enhancements and bug fixes to SeriesMgr.
Fixed problem with html output.