Added comments, added heuristics.

For lab badness, I was thinking of using the average timeslot time.