implement 'stopped' cmd, refactor time-of-day string calculation.