Fix slow event detectionTime moves forward, so the second call to nanoTime returns a biggernumber than the first one, giving a negative elapsed time … defeatingthe whole purpose of this code. :-( (commit: 3fe7215)