code reduction + repeatable closeTab(Left/Right) commands