Added to Map properties window and fixed minor memory leak.