Detect the proper graphical sudo variant to use and change some uses of tabs back to spaces.