Removed most uses of KList
Removing clib.c.
Removing threads.c.
Improved/fixed linking phase.