Updated Code

Pull request containing updated code from DragonToothSoftware/SLang -> DTSCode/SLang