Added 404 page as well as fixed some minor bugs.