fixed editor UI, upgraded to latest version of SGScript