last commit was a mistake - this is the 10message cap including some do-over code to remove dupes which I'm putting on hold