Title: Brownian excursion and limit theorems for the M/G/1 queue