Add "middleClickToClosePanel" preference
(related to #18)