update Core.php (don't override our error/exception handlers!)