Fix issue with stop/restart in modes_gui.
Spruce up the Javascript map handler so it doesn't just wipe the map
and repopulate. No "flashing icons".