Some fixes to mxdrfile class.