Adds export button, refactor.
Adds resultSet to transfer results as a whole: load during simulation and send to form. Adds Export_button behavior.