Provide basic security and bounds checking

make sure we're only getting integer characters, not ; or && or ||
Also be smarter about the size of our array.  We probably don't need 150
chars
ChangeTxPower use size_t instead of int