Title: Locally convex algebras in spectral theory and eigenfunction expansions