Handle invalid strings properly
txt -> subject
fixed error message
improved error messages
added test for integer overflows
test typo
In all seriousness.