Okay, let's see. I don't know how much more code I'm up for touching tonight, but I made some improvements earlier today by noticing that some layers in the new code were redundant, and stripping them out.
At this point, the API should be mostly done when I reimplement the flex functions as methods on the Flex classes, and then start using the Invocation class to implement specific programs.
I think for now, I'm just going to put in explanatory comments for me to act on later.
For now, I'm going to look for a way to relax, because I'm kind of wound up.