Added thread_add_runqueue. Still working on thread_yield.