added EFI checks, fixed dialog interface vars