Rework TBGetSiteVar() slightly. Add optional second parameter $rptr to
store the result in. When called this new way, the value goes into $rptr, and exit status is returned to caller instead. In addition, when called this way, all errors are non-fatal; it is up to the caller to decide what to do.