code: function(handler) {
        var t = this;
        if (t.monitor && t.monitor.isConnected()) {
          setTimeout(function(){handler(t.monitor);},0);
        }
        else {
          t.connectHandlers.push(handler);
        }
      }
docs: Call this handler(error, monitor) after the monitor is connected and the tree view has been rendered.