build with latest sdk always, but target 10.6
use %ld to silence warning and cast for 32bit and 64bit compatibility.
remove PXLog define (not used and would break if DEBUG is disabled?)
adjust "pasted" content to be more meaningful in the demo and increase # of items to show it off better
silence unused argument warnings in the core framework