MELT THE BUTTER in a covered large, deep skillet or dutch oven and add the onions, garlic, celery, 1 teaspoon salt, ½ teaspoon pepper, thyme, oregano, and red pepper flakes. Cook for 10 minutes or so, stirring several times. Pour in wine and cook for a few more minutes until the wine is absorbed.