minor tweeks, updates legend