[ENHANCEMENT] TBDev/stdhead.php cleanup and reformat