Clean up _bt_check_unique, assertion
memset, other refactoring
Main btree file diff minimization