error handling and other things

added the code for the 404, 403 and 500 error pages. I dunno why every single file is added in this commit, but oh well, weird stuff...