Ported some (not all) lots0logs UEFI changes.