optimize editscript
fix gcc uninitialized error
Merge pull request #228 from Garonenur/editscript

Editscript