Tens of thousands of people lost power in pockets from Montclair , N.J. , to Astoria , Queens , to Stamford , Conn. , but all told the region 's power grid held up relatively well , and temperatures did not go as high as some forecasters had predicted .