Switched engine to the new channel system.

Implemented (some) engine message structs and changed message reveiver
in renderHub to TwoWayChannel.