Added OnUncaughtException. Added AlertDialogCompat.