Ported StargateTech to 1.4.7
Removed some bad code.