fix: bug in closing state. adds interface for tag-event-handler. working on identify-tags-handling.