implemented closing all tabs and parsing session.local data