Instead of using require_once to add the tab_contact page to the contact page, use framework builder Plugins.
the problem is that by using require once, you end up putting the UE code that should be above the doctype tag on the contact page inside of the body tag.
this causes the headers already sent error, because there is already HTML on the page before it gets to the header redirect function.