Envelope time

First commit for issue #207

Here is a working example. The gui will extend out of the frame if you max out many of the values. I think it's better to let it disappear under the frame if you do this. The only time this would happen is basically if you deliberately set out to see what happens when you set all the values to their maximum.