code cleanup, memory allocation fix for kext's names