And here's a script to undo Logitech's middle mouse button hack