improving Mod Manager error checking