Added additional messages for tracing and debugging