invert sense of --refresh option; add hardcoded tests to --init-db
use generator for queues, rather than callbacks