Send HTTP 500 on server exception, instead of HTTP 404
Cleaning up instance variable hell
Merge pull request #199 from mdlayher/master

Send HTTP 500 on server exception, instead of HTTP 404, cleanup