Significant changes in error message structure

Added a second "error code" field to use as "from" field in addition to
the original field now becoming a "from" field.
Changed logic to check for exact match to the "from" field as well as
fitting between the "from" and "to" fields.
End of table checking now done using a NULL pointer for the message.
Standard message now return if a match not found