fix program names
wait for sync thread outside of lock
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel