No thread

Remove native thread support from the core library.  The should offer much better flexibility but with additional  implementation complexity.