First draft of engine implementation for single-threaded execution. Latest changes include revised engine synchronization (e.g., for termination, listener thread tracking), removal of transports, listener implementations for network sources, generalized short-circuiting for messages, and simplified engine constructors.