Add waiting for messages.
Implement log tagging.

This is so much easier when we discard the log inheritance idea.