Modify editor

1) Modify editor to add "addClickAndKeypressAnnotations" function
2) Modify background.js to fix bug where editor was created - moved from replay to stopRecording