Allow more range on envelope attack and decay (and some incidental fixes)