New example
Decoupled probability from snapshot (no forward decl.)
Number of threads can be specified via command line call.