Major rework on the renderer.