Done with supporting the resetting of model parameters (#112). Also fixed an issue when closing OpenCOR when a simulation (i.e. a thread) is still running.