Don't draw blood splats far away in distance

Also several minor optimizations and formatting tweaks.