fixed NaN.
added latency widget.