Fixed a parsing error with SQL special characters - escapes only meed to be generated if wild-cards are being processed and it is an error to specify the escape character otherwise.
Changed some of the command-line tools to have optional output in the form of tab-delimited text or JSON, for use with scripts.
Changed the base name of channels to have underscores, to reduce the chance of conflicts.