Changed dreaming detection to fit with the new worldnames.