Some Minor fixes to Elemental, TS6 and ClientBot