Offscreen rendering.
Merge pull request #2 from jdfreder/offscreen_rendering

Off screen rendering and retina support