-w wait mode now switches back to a Terminal program (set this program in the script) after the window closes. Changed: U trunk/Scripts/tm