Fix a bug in parameter scan player handling
Fixed issues with finializing simulation - previous version killed simulator object before GUI thread was able to finish tasks that needed simulator to be alive. Introduced new signals to synchronize between gui and simulation thread