Various small fixes

Fixes #5
Fixes #9
   It wasn't a doctype that was needed, but a character encoding.
Fixes #14