Better errer pages (#1026)