Refactored linkaggtx to use structs.  Simplified the enabling and
disabling of the rings.