Added OSX entry point and OpenGL context

Added OSX entry point and OpenGL context
Merge pull request #6 from gtbass/master

Added OSX entry point and OpenGL context