#122 error pages, content-type fixes