Special events and online efforts spark circulation growth as New York magazine turns 40.