Simulation plugin: made sure that we don't emit signal in our main simulation loop (closes #208).