Automorphic L-Functions, Geometric Invariants, and Dynamics