kdtree: Fix print_tuple.
gt: misc changes for testing