Made minimum distance between stargates configurable.
Made Stargates spawn in the desert along with some goodies.
Refactored a few things.