I was actually considering pulling out this Sleak logic into some kind of helper class. It would be useful to be able to automatically check for leaked resources for all new Widgets and throw a warning to the dev that they've introduced a leak.

Not necessary to fix here, just something I had thought of recently.