fixing broken code.
initial commit for optimized rendering code
commit for posterity
moved edge softening to the shader
fixing null reference exception