Miscellaneous minor changes

I'm not quite coding optimally.  We do need to make a decision on
whether we want the schedule to be a class or a passive item we edit.
If passive, the function structure may do well to have it globally
defined.  Just a thought.