format error messages and do 404s
Merge pull request #27 from pon/better-err-msg

format error messages and do 404s