Reverted some testing code.
Use displayLink.duration instead of manually tracking the frame duration.