Renamed mainMap to MainMap