Generation of world now done in a separate thread.