Added support for multiple layers. Added support for opacity. Widget now respects layer.visible property.