Sample accurate ADSR

- Exponential mode for ADSR
- A few other fixes for a few dumb mistakes.