The synchronization now works in a quite reliable fashion. A few small adaptations are still necessary. This ticket references #1