Great script, pipclown. I used this to identify some problems in my History data.

Can we think of some other criteria to add to this Python script, to make it more of a sanity check?
How about
- starts near jan 1
- ends near dec 31, unless current year.
- no gaps > 3 days