Improved viewer so can publish with text of resource exactly as is (so,
without interpreting as markdown).
More work on publishing
Better error reporting when publishing fails