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.
Merge pull request #277 from aroben/patch-1

Fix computation of devtools Idle time