The random usage is causing galleries to infinitely rebuild
The random usage is causing re-display of a gallery to constantly rebuild. This results in the session becoming increasingly bloated. There needs to be a better way to generate the random seed. Maybe something based off the gallery id?