Many small mteacell issues fixed.