Merge pull request #590 from timrae/saveColCrash

Fix crash when closing preferences
MM Editor: Only delete temporary media when new path is different from old path
Force media rescan on next sync when IOException occurs