Added RSIs relevant to lifetime bugs related to env_t.  For some reason the query language code is storing long-term env_t pointers again.  That is really bad.