Improve error handling w/ try catch, pass version

* Send the version w/ the error
* explicit try/catch in extension and background initialization files
* only use one error key, but supply different environments