Render preparation and interface, added a state machine to client
networking. Server networking state machine TODO