Started work on mutexes, fixed memory leak in uthread_create() caused by not deallocating the thread sort buffer.