Fixed premature unbinding of _closeHandler(). Fixes #75.