UI fixes

I believe bcc17d2 fixes #4 (i couldn't repro it to be sure).

b93b560 repurposes escapeHtml, and it now employs a single replace instead of splitting on \s.  I don't feel too good about that, but I still think it looks better than before.