With few changes and fixes, user code can allow or not the close tab button, and decide if drag and drop is allowed.
Foe example, these '+' and "New tab" special tabs are handled by simple user code, and nothing special is added in TabBar to handle them.
After additional tests, the changes will be proposed in Redmine.