adding fix for when enter key doesn't clear the buffer, also adding injecting the content script on fresh install and upgrade