Fixes various 404 page bugs

Also solves #3403 

cc: @aaronschachter 
Well I feel like a derp