v2.1.1: The demo worked very nicely but the manual does not, even when I co

v2.1.1: The demo worked very nicely but the manual does not, even when I copy the whole demo code into it.
Update 1: The two latter parts work, the 1st part does not. I am working on it
Update 2: Apparently, break is important and I messed it up by automatically tidying the whole code. Fix the whole thing now.