Map saving finally implemented.