updates, refactored newthreadbuilder