Improved clarity and consistency

In comments, SQL syntax, and user messages.