Updated XML and functions for all 5 tabs in map