Added more logging on message dispatching