Bugfix in PHPTemplateOutput
Minor change in error output
Better detection of flushing in HTTPResponseGlobal