Remove unused code.
Make string part of translation.
Better sharing code for copy and copy parts.

Also fix the circuitry to properly activate the paste/paste all button
only when the dialog is properly activated. If the cancel button is
clicked the paste buttons status is not changed.
Merge pull request #129 from TurboGit/minor-cleanup

Minor cleanup