fixes Material Widget (former PropertyDemo) memory leak, ref #140