min sound, fixes, memory leak fixes