Don't assume 1s between samples in the UI.

Fixes #155
Merge pull request #211 from vmarmol/ui

Don't assume 1s between samples in the UI.