Better error check for smsep = 0

Instead of making a new variable for the rest of the routine to use, just set smsep equal to the txpl after throwing off an error.  The warning message only going through one time doesn't exactly work like I'd like it to, but that's the next step.