initial push of some threaded code. Does nothing but call pointless functions.