Fixed escaping in gtrs.  Renamed gelsearch functions to clarify purpose.