Several bugs fixed, shading for the geometry.