Fix loading audio from memory and fix insane leaks