added option to set middle mouse click to do paste