Patcher: remove wrappers when window is closed to avoid memory leaks
See Infocatcher/Private_Tab#45 for details