... and make it handle more cases of failure, in particular OpenGL and Vulkan being unsupported by the system.