Change location of null check
Implement save/reload RNG for resuming analyses