Added history debug messages