Added a simple, async Thread class.