Added proper output buffer. Added basic page load statistics.