Remove commented code.
Handle NULL from attempt to open /dev/random.

It's sort of useful to have this segfault for debugging reasons, but
not really great for running.