Fixed local copy issues
Fixed org-protocol linking under local installations
Made compatible with earlier emacs versions