Added variable to grab contents of popup menus.
forgot to add comments