added message reporting; added recording of last track to trackings table; helpers in support of message tracking