Exchanging data between BS and simulation threads refactoring.