Fixed up state management, added change request posting to engine, added
event scheduler, and some other misc.