Added the NotifyOnPanic() calls do allow easy panic handling