Nonprofits and AI: Managing Legal and Other Risks (Article - Full Version)