Fix occasional NPE when removing leading <br> tag from Markdown files (sometimes there isn't a leading tag), and fix derping about errors