As Johnnyb70 alluded to above, the timing gears are identical in number of teeth between Thor and Gems engines, but the gears are easy to identify, GEMS has equal cutouts in the gear face, Thor has unequal shaped cutouts.
Strangely enough, a Thor engine will run with a GEMS timing gear, but it is better with the correct one!
Peter