Hopefully solved the crashes.

Please reinstall the package and the demo script from the repo, if interested in a (more?) stable version.

There were two problems: needed a new call to properly clean up before exit and the playSound action eventually crashes if called asynchronously. The first issue I understand, the second much less.