Improved DXGI module.