Cleanse back-end code of all references to X11 types