moved responsibility of component&dep registration from RenderContext to Window