Added error pages, all sorts of stuff