Added very simplistic message logging