added 500 error and page.

Fixes: #122