More error display work for Firefox

Reverted most of the last 2 commits. Instead, just pass to setError() e.toString() followed by e.stack (if it exists).