cleanup of simulationpanel