code: public static void register(PageContext pc) {// print.ds(Thread.currentThread().getName());
  	if (pc == null) return; // TODO happens with Gateway, but should not!
  	// TODO should i set the old one by "release"?
  	Thread t = Thread.currentThread();
  	t.setContextClassLoader(((ConfigImpl) pc.getConfig()).getClassLoaderEnv());
  	((PageContextImpl) pc).setThread(t);
  	pcThreadLocal.set(pc);
      }
docs: register a pagecontext for he current thread
  
  @param pc PageContext to register