Thanks Olaf, this seems to fix the shutdown issue, the resizing issue still persists. Can this fix go into the release, pretty please? The issue is rather serious.