misc code cleanup

still need to resolve mesh maintenance issue. it appears that we need a
mechanism to bias the mesh towards equilateral triangles.