stylesheet optimization and cleanup