Fixed query logger.
Merge branch 'master' of github.com:letsdrink/ouzo
Cleanup.