Added debuging stuff to graphics.  Other fixes but still need to properly implement findNeighbors for line segments.