Kmalloc fixes, added new string functions