PaperStructure dependent wavelength shifts in AlFaAs lasers near threshold, and their application to a wavelength-stable source