Added some rendering options, and probably fixed density lookup because I'm an idiot