Hopefully fixed PHP Warning issue with headers already being sent and ob_start