Remove .htm from HTML extensions
Add resource loading capability for preview

HTML preview searches for resources in the directory relative to the
file being edited.
Acknowledge .text files as Markdown