graphic update of demos 1 and 2

also corrected physics bug of demo 2