Fix chat problems, factor RegionUtil into RegionData