refactored the ui to DemoComposite...statics were scary...