fix windowtitles when using non default ssh ports (or similar options)