Performance improvment on line rendering
Switched out the line rendering so it hi-jacks the canvas from the painter, added a pre-frame render callback to the painter where we render out the lines instead of creating new canvases. A bit uglier, a lot faster.