Simplified the wall clock logic.
The check for if the message was from the KCD also increases performance since most messages received will be from the timer.