PDF demo cleanup