Improved terminal-notify support some more.