Made it so that if nothing is selected, the clipboard is used.