Fix Extensible dtor
Fix deleting mode locks
Read most of the old common flags for compat