Added 404 pages, and support for post covers

Also made some minor fixes here and there.