Revert "Merge pull request #1876 from w33ble/clipboard"

This reverts commit 67f3fe9600cb07a11e96ddbb4e3b895318b20c35, reversing
changes made to 1b3a38523251cdfdbe335cf016c39c55556efee1.
Revert "Merge pull request #1877 from lukasolson/issue-1874"

This reverts commit 34466c6a35cb0bfefcb62b13ff59a77e00ac5cee, reversing
changes made to 5cad53f5f0a636e6a50ff8d8b79b39e7dd7dc784.