Various Bug fixes in 1.5.x tutorials/examples