Graphical schedule; Query changes

Some initial work on supporting graphical schedules.
Changes to QueryParameters tables to support Jay's work with Canned
Queries.