improved ShapeLayer
Layer changed and RectLayer added