Fix regex for current kernel and minor logging fixes.