Nicer separation of Gantt logic from controller code