Introduce settings for leaving windows in old positions and focussing new window.  Restructure ttw.js to use callbacks accordingly.