Text this: The electromagnetic origin of quantum theory and light