Make the `vtmode' config option work under X. In the process I've