Last manifest_version 2 fix

Fixed popup Refresh button making the links unclickable.

Also cleaned up debug