Merged recent Chrome extension changes

I took the recently modified Chrome extension changes (appears to be
mostly around the new Profile update) into the Safari extension.