intermediate step
layerwidget editor now widget-based instead of custom painting code