Merge pull request #311 from archSeer/master

64 bit fix for debug builds
Add pure status to getinfo.
Added icon files for OSX

Still need to set up the application bundles etc.
Use size_t for FOFS in SP not intptr_t.
Use offsetof in offset functions.
The old macros looked crazy and they basically used the same code
used in the offsetof() definition inside ANSI C. Compilers may provide
even more optimized versions. http://en.wikipedia.org/wiki/Offsetof