Correct bug in reading kernel file. Improved safe_call to throw an exception.
Compile errors for kernels now display the correct line number even though comments are still erased.