Yes this maybe better. I also think it doesn't work properly because <i>m_startTime < now</i> could be true even if it doesn't extend earlier. But it should be too hard to fix I think.