Improve green scheduler 2

This PR will hopefully eventually close #11730.  Right now, it's NOT ready to be merged at all.  I'm putting it here just so that people like Alex can take a look and tell me how much I'm doing it wrong :)