Nearly got it all working

I really want the legend and the filter to work before being finished...