Small internal changes in curve checking - switch from is_acceptable to the more usual check - add NULL check just in case user screwed up config