fix the sustained notes behavior so notes are only cleared if they have actually been turned off. notes that are still down should remain.