Fix crashes, add timing, add periodic commit/rollback