Force mode string to 1 char.
Merge pull request #66 from nmpeterson/master

Force mode string to 1 char.