This branch solves several bugs related to the source manager:
building
between the main thread and the source thread may not be synchronous. Therefore, duplicate agents can be generated (having the same position).Both problems are solved. Documentation is within issue #158 (closed)