add ScriptArea editor basics. More testing and improvements needed.

Signed-off-by: anti-freak <antifreak2011@gmail.com>