More detailed log messages.
Fixed some log messages.
OnSQLQuery wasn't executed if the query was non-threaded and had no callback.
Got rid of boost::unordered_map.