Error tweaks

* filter out 404 error traces 
* respond with 404 and 500 when rendering custom error pages