Thread fixes for py3k
Thread fixes for py3k

antoviaque/huey,happybits/huey,rsalmaso/huey,oz123/huey,deathowl/huey,coleifer/huey,charleswhchan/huey,angvp/huey,charleswhchan/huey,pombredanne/huey,angvp/huey,happybits/huey