/*
Startup handler, hooks into Qooxdoo proper
function () {
    qx.Bootstrap.executePendingDefers();
    qx.$$loader.delayDefer = false;
    qx.$$loader.scriptLoaded = true;
    function done() {
      var readyHandlers = [];
      if (qx.$$loader.deferredEvents) {
        Object.keys(qx.$$loader.deferredEvents).forEach(function(eventType) {
          var handlers = qx.$$loader.deferredEvents[eventType];
          handlers.forEach(function(handler) {
            qx.event.Registration.addListener(window, eventType, handler.handler);
            if (eventType === "ready")
              readyHandlers.push(handler.handler);
          });
        });
      }
      if (window.qx && qx.event && qx.event.handler && qx.event.handler.Application) {
        qx.event.handler.Application.onScriptLoaded();
        qx.$$loader.applicationHandlerReady = true;
      } else {
        qx.$$loader.applicationHandlerReady = false;
        readyHandlers.forEach(function(handler) {
          handler(null);
        });
      }
    }
    if (qx.$$loader.splashscreen)
      qx.$$loader.splashscreen.loadComplete(done);
    else
      done();
  }