Make functions return, not exit. `local`-ise more prefixed vars.