/**
  * Renders a chat room.
  *
  * @global $buoy_chat_room
  *
  * @todo Remove this global. Maybe template-ize this a bit better
  *       with actual `load_template()` functions and similar to a
  *       WordPress front-end? That would let theme developers use
  *       their skills to customize the built-in chat room, too.
  *
  * @return void
  */
 public function render()
 {
     global $buoy_chat_room;
     // TODO: This should become a "real" template, but for now, we just
     //       empty the major front-end template hooks so we have a clean
     //       slate from which to define a simple HTML "template."
     remove_all_actions('wp_head');
     remove_all_actions('wp_footer');
     add_action('wp_head', array(__CLASS__, 'renderMetaRefresh'), 10, 2);
     add_action('wp_head', 'wp_print_styles');
     add_action('wp_head', 'wp_print_head_scripts');
     WP_Buoy_Alert::enqueueBootstrapFramework();
     wp_enqueue_style(self::$prefix . '-chat-room', plugins_url('/templates/comments-chat-room.css', __FILE__), array(), null);
     wp_enqueue_script(self::$prefix . '-chat-room', plugins_url('/templates/comments-chat-room.js', __FILE__), array(), null);
     add_filter('body_class', array(__CLASS__, 'filterBodyClass'));
     add_filter('comment_text', array(__CLASS__, 'filterCommentText'), 5);
     // early priority
     require_once dirname(__FILE__) . '/templates/comments-chat-room.php';
     do_action('shutdown');
     exit;
 }