removed unused variable
fix to handling of flat color ramps
added aperture page icon
encapsulate theme access with map interface and init new layers with current theme.