Copy selection to clipboard option (master branch change)

Initially development was done on 1.8. This is merged source. 1x conflict resolved in terminal-window.c