Only set variables if not already set
Improve error message
Better return value
Complete making functions global
Rename l:RemoteClipboard to l:RemoteClipboardContent for clarity