Possibly due to RenameSavedPlugins being called when the background loader is not yet complete, causing some kind of exception between wbFileForceClosed and the background loader to cause the save thread to terminate early, thus missing the opportunity to save merges.
Fix by:
Saving merges before renaming saved plugins
Using exception handling in RenameSavedPlugins per-plugin in the loop
Only calling RenameSavedPlugins if the background loader is done (user can't fix errors until the background loader is done anyways)
Possibly due to RenameSavedPlugins being called when the background loader is not yet complete, causing some kind of exception between wbFileForceClosed and the background loader to cause the save thread to terminate early, thus missing the opportunity to save merges.
Fix by: