Add 'Save' and 'Save as' funciton in editor dialog
Rename variables in dll

Divide global and shared variables.
Fix refresh SDForm bug in dll

Because path of sdform is not syncronized, not performed refresh when
change sdform file.