Renderer for dmg added, some old code removed