Disregard empty stylesheet; smarter name splitting.