Improved the browser action popup.

Now can't edit source for a rewrite.
Remove debug / testing code
Add enter listener for the browser action.