make middleware next() handle 404s.  make `new` optional for contruction. rename pathVars to pathVar.