Adding new div id=content per #114355, also changing if($something) to if (!empty($something)) per #112453