Fix for Issue #19

Circumvent auto-close feature during object initialization