Split off layer functionality into expanding-layer
Added draw-whole method
Fixed to use draw-whole
Added missing painter #_end call on finalize
Changed to use expanding-layer class and draw to pixmap
Inefficient prototype to fix stroke painting