Fix bug where glib random would not actually recover all state
Fix bug where glib random would not actually recover all state

suto/foresight,gh0std4ncer/foresight,ALSchwalm/foresight,ThomasKing2014/foresight