change set xterm titlebar code from function to a variable