Store theme key by stylesheet name, not template name. Resolves #29.