Fixed errors when gnome-terminal isnt installed, drops back to xterm.