Removed internal stacktrace tracking and replaced with optional Sentry usage.