Title: Spectral theory and problems in diffraction