Implement customization setting for "records between state messages"

The following discussion from !1 (merged) should be addressed:

  • @DouweM started a discussion: (+2 comments)

    Is this the kind of thing we want to make configurable with a setting? 10000 also seems pretty high as a default :)