added legend and modified level renderers to stack