fixed bug. Notifying user of a crash was crashing program again.