Gallery spawning updated to reflect 0.5 changes