Tweak 404 and 500 to not reference non-existent stylesheets

# What's changed
* Handle 404 on document not found (instead of 500 error)
* Remove stylesheet reference to things that didn't exist
Line is too long. [89/80]