features added (see description), fixes; v1.1.3

beforeOpen, afterOpen, beforeClose, afterClose added