make paintlines more modular
make paintsquiggles more modular