Fixed bug where channel tabs could not be closed by clicking on the 'X'