Output buffering added to checks

Added output buffering to the checks to remove errant 1's at top of
webpages.