Your Profile is shown bottom right of screen. Your current settings are stored in the file <your profile>.xml, which is located in the Mach3 folder.
Mach3 stores backup .xml files so, before re-installing, try using; Operator / Restore Settings and install a previous .xml. Hopefully you have one which was made prior to you having the M99/M1/M30 issues.
Tweakie.