Egyptoon
1. Canvas+ does not support WebAudio features (filters, positional audio, fft analysis), and occasionally the triggering latency seems to get really bad for me (hasn't done it in awhile though). Other than this, I've never had any issues with sounds.
2. Get the Canvas+ plugin and use it's built in 'close app' function. Plugin repo is linked in ludei's sig, but here: https://github.com/CocoonIO/cocoon-plugins-c2
3. First, if you aren't using notepad++...start using notepad++. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">
https://notepad-plus-plus.org/
It's around line 434. Make sure you have 'isCocoonJS', not 'IsCocoonJS'...that typo wasted a whole day of my time recently. <img src="{SMILIES_PATH}/icon_razz.gif" alt=":P" title="Razz">