I find myself accidentally closing a track when I really mean to click the Mute button. I see there is another post (Option buttons on tracks) that mentions this as well. I see from that post that the x button cannot be hidden, so what about having some space between the x button and the other option buttons below it?
A workaround for you @am_dew
You can use the shortcuts for Mute and Solo Shift+U and Shift+S
These toggle the state of the Mute and Solo buttons on/off in the focused track (the one currently with the yellow border).
This way you can avoid clicking the buttons themselves and thus accidentally avoiding the delete track “X”.
BTW there are a whole set of shortcuts available for muting (but not soloing):
See this page in the manual for details of those commands: