Fixes #9: Choose the analysis range directly based on the timestamps, rather than indirectly using the spin box values.