Finished the condition variable... I think...