Finished syncing, implemented post-sync checks and revision updates (with a few incomplete stubs).