fixed adsr graphic bug and fx crash..need smrtptrs