Fix some warnings, beef up the logging and spot when we fail to process a UDP packet