Open toolbar links in new tab. Rework code.