simplified stylesheet sequence checks; other tweaks