Fixes #82,  Rename the index used to store the reference object in lastChange,
tracedObjectOffset -> tracedObjectIndex,
and now the queryNumber is passed through activate();