dont panic if Init fails in foreground mode, instead just exit
dont panic if Init fails in foreground mode, instead just exit

Rather than panic when Init fails if the agent is in foreground mode,
just print the error message and exit with return code 1.

Resolves #342

mozilla/mig,mozilla/mig,ameihm0912/mig,mozilla/mig,mozilla/mig,mozilla/mig,ameihm0912/mig,ameihm0912/mig