first attempt at simplifying SemanticWarning, inline SemanticError routine
second attempt at simplifying SemanticError messages