Fixed bug with the -mrg and -drg options in g_isdcmds by adding appropriate parts to libisdm.c.