Updated kernel.cpp with serial init stuff