Prevent changing adapters during emulation and VideoConfigDiag cleanup

This replaces PR #570 as it's apparently not going to be updated.
Rebased and pre-reviewed, yay