Added more logging info to GLM to track the timings of individual stages.