Add some improvements to bootup logging and error checking