enforce debug layout by body.debug
qquads generates margin; need padding here
sql_delete_*(), sql_prune_*(): more systematic, always check references and privileges