i know its possible to run gallery with safe_mode on and enabling gid checking. you only have to comment out the lines with set_time _limit.
maybe you could make a future version that doesnt need safe_mode set to off. cause it leaves a big security hole in your server.
thanks.