You can quit a number of applications at once by selecting the group of windows or icons and choosing Quit from the Window Controls submenu.