rework stack syncing code
reset class version uids
fix typo: coerse -> coerce
save/restore stack and memory into bundle