IDE: PatternWindow. Added actions on ESCAPE and X-button
RubyScript: rb code simplifying
RubyScript: fix exception processing
Merge pull request #16 from rssdev10/master

RubyScript