Initial working automation envelopes...  Pretty epic...

There's still a few issues to work out, but overall it's solid.