Separated the simulation execution from the gui thread a bit so we approach a MVC pattern. This makes the interactive visualisation a bit smoother.