fixed position of cheat btn
adding code from later API's safely
merge branch 'ch06'