improve debugging info
fix bug in re-enableing features - re insert initvalue/oldvalues