Refactored styles in action panel
Toggle is actionpanel now functional and based on checked state
Minor refactoring to map.js