Optimise build settings. Remove build warnings.
Update to XPSDK212. Changed Mac to frmaework build.