Overhaul of LibrarySync. Moved thumbnail creation to background thread.