widget parameters plus enhancements to support unloading