Add race-condition debugging tool to mininode