Finally resolve the parent frame issue

In this PR...

**Major fixes**
* Dynamically figure out which environments to search for.

**Minor fixes**
* Fix the default to not run `tryCatch` everytime.