cleanup
added trigger support
escape table/column names, to be able to use reserved sql words
DB_DEBUG -> DB_TRACE
real errors