Various fixes for report generation.
Updating do_browse.