Fixes EditSession button and referencing entries in the hashtable of open tabs - mrracine