But if I use a FASTER shutter speed then the script gives an error message and it all crashes."
The script gives an error message?
If my memory serves me right, the script should never give error messages. Any error message you get would be from ubasic, and that especially should never happen unless you have a corrupt copy of the script (which can happen for instance if you cut&paste things instead of just copying the file properly) or an obsolete version of CHDK (I know SDM has some differences in ubasic compared to trunk CHDK, I hope it includes the get_shooting, get_flash_mode, get_mode, get_video_button commands used by current MDFB versions?).
Note: current script version is MDFB-080914, and current CHDK is whatever is available in autobuilds (unless your camera is only being ported, in which case anything can be expected to be wrong). But if it now works for you with current SDM, no need to fix what isn't broken I suppose.