Faster trails drawing

Trails buffered to background when more than 1500 linepieces or during
redraw background e.g. due to pan/zoom