added functions for tabname and windowname