We need to multithread most of the sql queries I think, espically with
the tag system, should be too difficult overall.