More concurrent structures and performance improvements for executor

Most this is unit tested...more unit testing will still be necessary, but this stuff appears to be working, has been cleaned up, and I want to start building it with the CI as soon as possible.

This fixes issue #13