TextureRenderer and some hud code