Added error interceptor

Fixes #106
Config now used in URLHandler as well

Fixes #107
v0.8.3