Added a debugging possibility for SQL queries.
Implemented API to add a comment, ...
Enhancements for geodata API.