- many fixes to address issues arising because legacy codebase also uses ob_start and settings were conflicting