better exception page

closes #875