Add task to trim excessive measurements, keeping most recent 10k, closes #97