Lock about window before deleting it on destruction

This fixes #9543