Fix sadfaces, and remove some missing imports

A recent change caused the miniblog to start generating sadfaces,
and this fixes them. I also removed some unused imports that I noticed
while working on #1516.
Can you leave a comment explaining why this import is necessary? I can't tell from looking at the pull request, so future developers will probably also be confused and remove it if there's no comment.