minor adjustments; allow print button to paste result to clipboard