Updated Renderer to allow changing UI.