Change nub thread API

nub_thread_create() seemed more appropriate.