Added debug prints to bootloader.