Added instantiation options and resolved issues related to event state (open/close) awareness