Add a close button to tabs

More difficult because of how I implemented the tracking for the
tabs so I could lighten the gradient on hover.