The start script now returns the window id and the TTY of the tab. These parameters are then send to the stop script as arguments. This allows the stop script to identify the original tab and reset its theme even if it is not in the foreground. This could happen if, i.e. the connection to the server is lost or the ssh session is terminated.