Bind middle-click to close tab

Closes #832