fix(synchronize): correct synchro (closes #4435)

Correct the synchro mechanism
Rewrite offlineSynchronize
Add better callback handling
Add IHM elements