Fixed 500 page. Pulled code from 404 page and mostly pasted it in.

Simple enough fix. Let me know what you think!