Moved UI code to Renderer.
Deleted unused UI data.