Make cave generator a bit better and correctly seed the RNG