Aspects of photon emission from metallic surfaces in the scanning tunneling microscope