Turn StargateRing entities into managed entities.

Fixes issue #40, fixes issue #95, fixes issue #78. This might help solve
problems presented in issue #84.