add burntool state table; set limit on unrestricted diff query; change magic paths to workdir (nebulous)