Implemented more or less adequate 404 handling