changes from golan for digital art project

these are some changes from @golanlevin for OSX
Hmm - might be better to have these vars set not in the .h only because some compilers will complain about setting the vars here.