added events for renderer initialization. also made it so renderers are initialized once. fixed/added unit tests