minor cleanup
code to manage map control
localStorage key bugfix