Removed abortable debugging message.
Moved responsibility for removing thread from process out of scheduler code.
Improved locking and error checking in proc_switch.
Thread test now creates 10,000 threads, 10 at a time.