implement analysis complete event. issue #34