use generator instead of single query
login
prevent against somevalue/novalue errors
{{deleted}} support
more config options, also possibly breaks things.
convert to threaded queues