Fix Sentry so that it actually shows pretty stack traces and tag.

Reuse some of the old plugin logic.