Fix line segment rendering.
Update ColoredSurface to use quadtree for lookup.