cleanup, preparations for adding new tab-oriented stylesheets mechanism