- Took out $catch_errors, as it proved ineffective due to the number of possible scopes. Maybe later