Thanks Marcus247, this is exactly what I was looking for. Other threads have information scattered around and it's rather hard to understand. I'm looking forward to your version that allows editing of the facet name, since that's really what I'm after.
