docs: function(action, thisp) {
  			var is = this.initialized;
  			if (arguments.length) {
  				if (is) {
  					action.call(thisp);
  				} else {
  					this._initcallbacks = this._initcallbacks || [];
  					this._initcallbacks.push(function() {
  						if (gui.debug) {
  							try {
  								action.call(thisp);
  							} catch (exception) {
  								console.error(action.toString());
  								throw exception;
  							}
  						} else {
  							action.call(thisp);
  						}
  					});
  				}
  			}
  			return is;
  		}