PHP has some interesting ideas on what constitutes a "critical error" sometimes.  And the "headers already sent" error message *does* clutter the view in this case.  Also, checking ```headers_sent()``` prior to calling ```header()``` tends to be considered best practice (in my experience).

That said, this is your show, so my goal is to bring things into line with what's best in your eyes.  To that end, what's the course of action from here?