Add a lot of sanity checks for the Xvfb acceleration, to stop it from segfaulting. Make the sanity checks run at startup, so we catch it before someone tries to record a video