Two improvements.

- Added a small error reporting system (debug mode).
- Fixed some routing problems.
- Added support for sqlite, mssql, sybase, pgsql, odbc, firebird, oracle and dblib databases.