writing large wav files to disk instead of reading from memory, and deleting them on shutdown.   Fixing a bunch of bugz in native shutdown methods