(MainWindow.SetMap): Look up the legend dialog box and tell it to change its map to the one supplied to SetMap(). Fixes RTbug #1770.