middle click closes tab
improved linting for pylint 1.1; mostly bad-whitespace