Thanks for all the hard work you've done in the past for CF.
For the migration, is it possible to provide a lock so that the migration function can't be called again before a previous call has finished?
Since CF has always cached the currently open folder, this can cause problems if trying to migrate two compendiums at the same time (since the most recently started compendium will be in the cache, and cause the other compendium to be wrongly set up).