Update GTTree and GTIndex

This brings `GTTree` and `GTIndex` up-to-date with our code style and comments.