Changed all the examples I could so most of them now work with 1.0.7, and removed the self executing anonymous functions