and enforce exclusive access to environment. Also fix txn_begin/pick_meta to use correct meta page, and reset the flag after successful commit.