handle stylesheet deletions, and other stuff