Wrap roll0() around random(), and seed_prng() around srandom(). In preparation of replacing the PRNG.