Use QElapsedTimer not QTime for determining duration
QTime yeilds undefined results if the time is changed while timing is going on.