various small changes and a bugfix
Various improvements in report formatting