Replace the last rand() with mt_rand()

Better entropy, faster.
Also fixed a few "it's" typos.
4 files changed