By pinning the tab (right click on tab>pin tab) it prevents the tab from being accidentally closed by removing the X. You can also swap tabs with Ctrl+1-9 hold Ctrl and press the number of the tab you need and it will swap to it without you needing to click.