scripts/functions
taeni: tabs support, update tab title, tab close button