Add a custom lookback time for completed tasks.

Fixes #3.