Updated threading code for 0.9.0