Streamlined sync progress tracking.
Don’t sync if a sync is already in progress
Send null for empty attribute strings.
Don’t display syncing progress dialog if there are no layers to sync.  Also, in Project sync, execute the success callback even if there are no layers to sync
Fixed a bug which presented a dialog for null layers failing to sync.