added selected Window attribute to be used by telnet client