Removed proxy stuff from project.
Changing sublayers in the layer list now updates the legend.