More stable Stargate Network

Makes the StargateNetwork more stable, cleans the way it works internally.