further fine-tuned the external buffer copy/paste logic to avoid redundant reloading of the clipboard