Select detail

We add selected and editable class attributes, and appropriate styles. However, the styles appear overridden; I do not know why.

I also added a CSS  style for non-editable sprites, but haven't wired it up to anything.