cmd option resistThreshold

resistThreshold defaults again to 50, is configurable via parameter
dealing with command and paramter string
error handling while setting resistThreshold