The second phase of the legend / table of contents overhaul has been completed. This includes:
Developers should note that there are some minor API breakages relating to the new legend - we try our best to maintain backwards compatibility but in this case it was not possible and the changes were not substantive enough to warrant a 3.0 release. Please see this mailing list thread for more details.