bug 638: Save, set and restore the DISPLAY environment variable.