Continued work on dialing. Stargates *should* now be able to establish a wormhole.
Refactored and organized some stuff.