Formatting

-formatting html and php code in header.php
-found another boolean reference condition to cleanup