sms: Fixed smsQueue and made it more immune to the smsSettings on which it depends.