updated /update_groups.php
minor tweaks to queries
removed unneeded group by from query and threads - 1
typo in a few threaded scripts
Merge pull request #164 from nZEDb/dev

Dev