Ignore .settings
Clean up deadlines.
Change inserted Ids to be positive.

This fixes problems with restoring the list position after configuration
changes when the currrent position is a section header.