typos clean up, code arrangements, different formats output added to 404 page