Basic thread functionality working.
Mutexes, conditions and the like are on the way.