Kernel/x86_64 - Updated to new threading changes, fixed some bugs

UCC git Repository :: git.ucc.asn.au