Changed exampleB2a to run UI + visualization!