Cleaned up thread code, changed default compiler name (to i586 elf)

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