Moved all the world-sending code to the World struct.
Made the salt generation random.
Fixed random salt generation.