Added support to handle 404 situations.
Fixed some spelling mistakes.