add 404 error page and more heroku fixes