End when <=0 time remaining, not just ===0

Sort of obvious!

Fixes #343