fixing small bugs in query classes
changing settings file to use multi threading queries by default