Added missing MG_REV.bf; fixed some RELAX bugs