Do not close main window when middle-click on link

Fixes Bug 721852 and Bug 721853.
Updated copyright