Implement stackstack diff mode, based on already existing warpstack code.
Rework cleanup sql a bit to be lighter on the database server.