Multiple selections and scatter

This is the (pretty much complete) "multiple selections, with linked scatterplots" pull request. I still have to fix the zorder code, so I haven't rebased it yet, but other than that, take a look and let me know if you have any issues before I collapse this via rebase.