Factor out initialization messages in kmain.