docs: public static Main mainEmbedded(String title) {
          ContextFactory factory = ContextFactory.getGlobal();
          Global global = new Global();
          global.init(factory);
          return mainEmbedded(factory, global, title);
      }