GigPerformer crashes when I try to create a new Gig or open different one

Another look and its exactly the open/close Plugin window thats not correct.

If you / comment / that whole section out, gig file does not crash anymore!!

Here is a post with implementing Open/close Plugin window script.

Related…
This post has a rackspace with script Open/close Plugin window example