revamped control flow to allow for selection of color palettes, map types, and map views.