fixed a few bugs causing clipping with and seams in grid. Some seamsa re still present.