Refactor attach tab function. Include changes to OpenPGP.js compatibility layer. Regenerate XPI.