Fix Average Waiting Time & Average Processing Time
1.) For edition statistics get rid of 1 hour cap. It should just be the entire 'average'
2.) Reference time needs to be min(currentTime, endTimeOfLab)
for non-live statistics.
3.) Clean up the code base such that we don't have a separate definition of waiting/processing times in 3 different places.