simpler and more C++ legal sync
alloc fixes
ns timestamps + second separator