Removed a logging line
Rearranged things
Rewritten the code of processQueries, using hashmaps.
The previous version was bugged
Changed settings