Stop using GLib random: has mutex it appears.