solved stopping bug
Merge pull request #28 from tobiasandersson/master

solved stopping bug