Use window title from session. Fixes #167