FIX: destroy dispatchers in shutdown.
FIX: Range filter for bad range values.
REFACTOR: Add dirty-bit processing for sessions.