Hi,
Attached a patch to enable to code for removing the properties of a window on destuction. This now works thanks to Micha, who solved the inexplicable crashes.
A little extra cleanup and precautions with critical sections, but this is not critical.
Regards,
Vincent
