importing threaded from thready

it doesn't seem to work without it.
Merge pull request #1 from luiscape/master

Importing thready