fixed some minor problems. Still trying to figure out the precalced
normals.