Bypass Carp::croak on emerg()

- old behaviour would print the message once within the logger, then
  again from Carp.
- minor style fixes