Fixed up admin dashboard and 404 errors.