Started to create a DelayLogger to build a histogram of frame delays. Now compilable, but not tested yet!