Managed to get this to work by rewriting HTTrack, putting stats data not in a global variable but inside the project-specific options structure, I'll share the code when I finish up.
Bruno
Created with FORUM 2.0.11