fixes #1615, adds a new setting and keeps the DB small for reversions

adds a new settings and keeps the DB small for reversions