Redirect 404's to root page. Fixes #293. Set document title. Fixes #306.