Fixed Delta Timing

Got it working properly for Windows though it may be just a tad like 1
microsecond innacurate see the comment left in the source code. But
nevertheless this is better than nothing, please merge.