Refactored outputContent so the page generation statistics is in its own method. This means any snippet/plugin can access this data at any point during the execution cycle.