Changed GetTrace to return nil instead of "failed" rgm trace object. Some other changes done as well
Merge branch master