Add some primitive logging for unexpected exceptions and some signals.