Added 404.html and 500.html and made it easier to toggle debug mode