adding fixes for tramp, ssh, and sudo. Adding heading-mode for tramp root privileges