Ensured thread safety in output, main and agentdomain. No crashes, the simulation can be stopped via f6, UI fully controllable while the simulation runs, version 0.62