Made MainView log the latency