Foreground-visible time since start, including the current visible stretch.
int dwellMs() { if (!_started) return 0; return _dwellTotalMs + (_foreground ? _clock() - _visibleSinceMs : 0); }