Bump version for image changes
Merge pull request #42 from MobileOrg/develop

Merge image resource changes for 1.6.1 release
Merge branch 'develop'
Merge remote-tracking branch 'upstream/master' into develop
Stop using deprecated functions.
Stop using deprecated symbols.
Be careful with assignments in while().

Tell the compiler that we explicitly want to do this.
Cast to proper type for format string.
Do not use variable strings directly as format string.