Solved an assert crash on exit, prompted by having multiple maps with same name.