PLD: add custom 404 and 50x pages, closes #461