Melt butter in a large skillet. Add onions and cook over medium heat for five minutes, stirring frequently. Add mushrooms and toss around, then add wine (if using), Worcestershire, salt and pepper. Cook for several minute over medium heat, or until all liquid has evaporated. Transfer mushroom mixture to a separate bowl, scraping all contents from the skillet.