Demo.cs from demo-scene branch