Seol mar théacs é seo: The electromagnetic origin of quantum theory and light