Split out code and put them in appropriate files to make coding and debugging much easier. While not complete it is a huge start.
Played with experimental “auto fix” code for guspat release envelopes. 
Done some tidying of code in places.
Work done on decay_samples, may not be complete.
Major work done on “log” volumes. Calculations are now based on decibels. Part of this still needs “tuning”.