There's a lot happening the first time a stylesheet is used for rendering; it's a lot faster the second time. Get this stuff done at startup.