Add error pages, fix some links