A script for running GUI programs as root, with fallbacks