fixed the bug referred to in the previous commit by adding a "return" if the widget had previously been created.