Added delete query option.

Also, previous commit included refactoring of bus deletion (for buses
that have departed), and fix of the chart.timer (typo with chart.time).