Add extra logging around previews/icons (bug 920022)