/**
  * Prints out HTML and CSS into the HTML <head>.
  *
  * @return void
  */
 public final function printInHtmlHead()
 {
     $wordPressFunctionWrapper = tubepress_impl_patterns_sl_ServiceLocator::getService(tubepress_addons_wordpress_spi_WordPressFunctionWrapper::_);
     /* no need to print anything in the head of the admin section */
     if ($wordPressFunctionWrapper->is_admin()) {
         return;
     }
     $hh = tubepress_impl_patterns_sl_ServiceLocator::getCssAndJsHtmlGenerator();
     /* this inline JS helps initialize TubePress */
     print $hh->getCssHtml();
     print $hh->getJsHtml();
 }