Added a check so esudo window is not shown if run as root