Several improvements to cloth simulation demo