Removed the old method of output buffering, just don't do that anymore
Moved the cleanup to after the moment that content is returned to the user, makes it a bit faster