ogconsole.setCapturing(true);

    var EVENTS = goog.object.getValues(goog.ui.Component.EventType);
    goog.log.fine(logger, 'Listening for: ' + EVENTS.join(', ') + '.');

    function logEvent(e) {
      var source =
          typeof e.target.getCaption == 'function' && e.target.getCaption() ||
          e.target.getId();
      goog.log.info(logger, '"' + source + '" dispatched: ' + e.type);
    }

    // Programmatically create a vertical container.
    var vc = new goog.ui.Container();
    vc.setId('Ver