Added provision for copying to system clipboard.