Added send demo and decoupled rendering from initialization