Updated thread testing code to use locking so that threads can display output.
Comment methods of crashing. Added incorrect use of locking functions (due to poor implementation in the kernel...)