Did some changes to the renderer and worked on the lifecycle.