A bit of work on dialog_timetable_cell, code cleanup