the layer patch: layer numbering+1, default layers have higher priority then brush layer
blending layers corrected
layers can be forced or autodetected now
bugfix: DrawPathOverlay crashed if one of the way points was removed