Minor cleanup in the client, removed some dead code from the renderer.