Merge pull request #4231 from ligfx/fix_sigabrt_when_quitting_from_dock Move LogWindow/LogConfigWindow destructor logic -> OnClose