Numeric handling relaxed as well as some old error handling code

I think the error handling is ok, though the front-end still doesn't show it yet.  There is the minor change to handle integers and shorts so users don't get weird errors for no good reason.