Added patrol to write()
History stops at appropriate place
Added test_discovery_dates
Deleted debugging line
Added discovery_dates accessor, dummy functions
Added get_discovery_dates() and write them