shader mediator holds a ref to the editor widget.