When closing tabs keep all tabs the same size so that the x button for the next tab falls directly under the mouse cursor. You can then resize the tabs when the mouse exits the tab region. To see an example of an application that does this open Google Chrome. Open lots of tabs and then start closing them via the x button on the tab.
Customer support service by UserEcho