add better legend handling to map
move color block below map
always try to add gen to current series