Speed up periodical map unloading by moving beginSave() and endSave() to outer loop in Map::timerUpdate()