docs: def get_index(self):
          '''Calculate index of frame, starting at 0 for the newest frame within
          this thread'''
          index = 0
          # Go down until you reach the newest frame:
          iter_frame = self
          while iter_frame.newer():
              index += 1
              iter_frame = iter_frame.newer()
          return index