Bug fixes. Color improvements. Queries definition.