Finished thread support
Fixed more threading