Fix close simulator and add reset simulator
Merge pull request #75 from ehuebner/master

Fix close simulator and add reset simulator