Added code that controls the visibility of the electrons as they are added to or removed from the cloud.