fixed addmap bug, no longer displays lots of errors after adding 1 map.
Also now displays already existing boundaries in the addmap interface.
Copied changes to the mapping controller to the mobile versions to avoid
future problems due to unstandardized coding.