Updated so that errorhandler no longer has to be included (or installed)
ok, now it actually works without errorhandling