Fix computation of devtools Idle time

We were calculating the end-of-processing time using the *start* time of the event that finished last, when we should instead be using the *end* time of that event.