Issue #4: Improved sync process. Only unsynced operations are sent now