Add UEFI support

Also, add a menu item for non-UEFI mode to show all VESA video modes.