[READY] Segments performance boost

As reported by @JamesHarrison, if we try to add 300 segments, it has a major performance hit on the rendering.

Investigate a way to batch the segments drawing/rendering.