Fix some issues (map, maptools, sun datum)