map legend added and some other tweaks